﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012B7 RID: 4791
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingStartGameScRsp : IMessage<SwordTrainingStartGameScRsp>, IMessage, IEquatable<SwordTrainingStartGameScRsp>, IDeepCloneable<SwordTrainingStartGameScRsp>, IBufferMessage
	{
		// Token: 0x17003C9D RID: 15517
		// (get) Token: 0x0600D6B9 RID: 54969 RVA: 0x00240AC9 File Offset: 0x0023ECC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingStartGameScRsp> Parser
		{
			get
			{
				return SwordTrainingStartGameScRsp._parser;
			}
		}

		// Token: 0x17003C9E RID: 15518
		// (get) Token: 0x0600D6BA RID: 54970 RVA: 0x00240AD0 File Offset: 0x0023ECD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingStartGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C9F RID: 15519
		// (get) Token: 0x0600D6BB RID: 54971 RVA: 0x00240AE2 File Offset: 0x0023ECE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingStartGameScRsp.Descriptor;
			}
		}

		// Token: 0x0600D6BC RID: 54972 RVA: 0x00240AE9 File Offset: 0x0023ECE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameScRsp()
		{
		}

		// Token: 0x0600D6BD RID: 54973 RVA: 0x00240AF4 File Offset: 0x0023ECF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameScRsp(SwordTrainingStartGameScRsp other) : this()
		{
			this.iDJGHDKAOOD_ = ((other.iDJGHDKAOOD_ != null) ? other.iDJGHDKAOOD_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D6BE RID: 54974 RVA: 0x00240B40 File Offset: 0x0023ED40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameScRsp Clone()
		{
			return new SwordTrainingStartGameScRsp(this);
		}

		// Token: 0x17003CA0 RID: 15520
		// (get) Token: 0x0600D6BF RID: 54975 RVA: 0x00240B48 File Offset: 0x0023ED48
		// (set) Token: 0x0600D6C0 RID: 54976 RVA: 0x00240B50 File Offset: 0x0023ED50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPEDODHJOJF IDJGHDKAOOD
		{
			get
			{
				return this.iDJGHDKAOOD_;
			}
			set
			{
				this.iDJGHDKAOOD_ = value;
			}
		}

		// Token: 0x17003CA1 RID: 15521
		// (get) Token: 0x0600D6C1 RID: 54977 RVA: 0x00240B59 File Offset: 0x0023ED59
		// (set) Token: 0x0600D6C2 RID: 54978 RVA: 0x00240B61 File Offset: 0x0023ED61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D6C3 RID: 54979 RVA: 0x00240B6A File Offset: 0x0023ED6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingStartGameScRsp);
		}

		// Token: 0x0600D6C4 RID: 54980 RVA: 0x00240B78 File Offset: 0x0023ED78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingStartGameScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.IDJGHDKAOOD, other.IDJGHDKAOOD) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D6C5 RID: 54981 RVA: 0x00240BC8 File Offset: 0x0023EDC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iDJGHDKAOOD_ != null)
			{
				num ^= this.IDJGHDKAOOD.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D6C6 RID: 54982 RVA: 0x00240C1D File Offset: 0x0023EE1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D6C7 RID: 54983 RVA: 0x00240C25 File Offset: 0x0023EE25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D6C8 RID: 54984 RVA: 0x00240C30 File Offset: 0x0023EE30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iDJGHDKAOOD_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.IDJGHDKAOOD);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D6C9 RID: 54985 RVA: 0x00240C8C File Offset: 0x0023EE8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iDJGHDKAOOD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IDJGHDKAOOD);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D6CA RID: 54986 RVA: 0x00240CE4 File Offset: 0x0023EEE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingStartGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iDJGHDKAOOD_ != null)
			{
				if (this.iDJGHDKAOOD_ == null)
				{
					this.IDJGHDKAOOD = new EPEDODHJOJF();
				}
				this.IDJGHDKAOOD.MergeFrom(other.IDJGHDKAOOD);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D6CB RID: 54987 RVA: 0x00240D4C File Offset: 0x0023EF4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D6CC RID: 54988 RVA: 0x00240D58 File Offset: 0x0023EF58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.iDJGHDKAOOD_ == null)
					{
						this.IDJGHDKAOOD = new EPEDODHJOJF();
					}
					input.ReadMessage(this.IDJGHDKAOOD);
				}
			}
		}

		// Token: 0x040055AC RID: 21932
		private static readonly MessageParser<SwordTrainingStartGameScRsp> _parser = new MessageParser<SwordTrainingStartGameScRsp>(() => new SwordTrainingStartGameScRsp());

		// Token: 0x040055AD RID: 21933
		private UnknownFieldSet _unknownFields;

		// Token: 0x040055AE RID: 21934
		public const int IDJGHDKAOODFieldNumber = 9;

		// Token: 0x040055AF RID: 21935
		private EPEDODHJOJF iDJGHDKAOOD_;

		// Token: 0x040055B0 RID: 21936
		public const int RetcodeFieldNumber = 13;

		// Token: 0x040055B1 RID: 21937
		private uint retcode_;
	}
}
